package com.shopping.cart.entity;

import java.time.LocalDate;

/**
 * 促销信息，包含促销的日期，折扣等
 *
 * @author qxf101
 * @since 2021-05-10
 */
public class PromotionMessage {
    /**
     * 促销日期
     */
    private LocalDate promoteDate;
    /**
     * 促销比例（折扣）
     */
    private float promoteRadio;
    /**
     * 促销商品类型（电子，食品。。。）
     */
    private String promoteProductType;

    public LocalDate getPromoteDate() {
        return promoteDate;
    }

    public void setPromoteDate(LocalDate promoteDate) {
        this.promoteDate = promoteDate;
    }

    public float getPromoteRadio() {
        return promoteRadio;
    }

    public void setPromoteRadio(float promoteRadio) {
        this.promoteRadio = promoteRadio;
    }

    public String getPromoteProductType() {
        return promoteProductType;
    }

    public void setPromoteProductType(String promoteProductType) {
        this.promoteProductType = promoteProductType;
    }
}
